<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:c="http://java.sun.com/jstl/core"
 xmlns:h="http://java.sun.com/jsf/html">
<body>
<ui:composition>
<div id="header">
	<ul id="menu">
		<h:form>
		<c:if test="#{securityScope.securityEnabled}">
			<c:if test="#{securityScope.userInRole['user,admin']}">
				<li><a href="#" accesskey="1" title=""><h:outputText value="#{msg.menuHaut_gestion}"/></a></li>
			</c:if>
			<c:if test="#{securityScope.userInRole['admin']}">
				<li><h:commandLink action="indexAdmin"><h:outputText value="#{msg.menuHaut_administration}"/></h:commandLink></li>
			</c:if>
			<c:if test="#{securityScope.userInRole['user,admin']}">
				<li><h:commandLink action="#{menuForm.logOut}"><h:outputText value="#{msg.menuHaut_deconnexion}"/></h:commandLink></li>
			</c:if>
		</c:if>
		</h:form>
	</ul>
</div>
</ui:composition>
</body>
</html>